﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Actuals.CoreDomain.Data
{
    public interface IDalTechnicalTask
    {
        int AddTechnicalTask(ITechnicalTask technicalTask);
        ITechnicalTask GetTechnicalTask(int technicalTaskId);
        IList<ITechnicalTask> GetTechnicalTasks(int userStoryId);

        //bool DeleteTechnicalTask(ITechnicalTask technicalTask);
        int DeleteTechnicalTask(int technicalTaskId);
        ITechnicalTask GetTechTaskWithUserStoryId(int userStoryId);
        int UpdateTechnicalTask(ITechnicalTask technicalTask);
        IList<ITechnicalTask> getTechTaskWithSprintId(int sprintId);
        int UpdateIncompleteTechTasks(ITechnicalTask inCompleteTechnicalTask);
        int UpdateTechTaskStatus(ITechnicalTask inCompleteTechnicalTask);
    }
}
